home *** CD-ROM | disk | FTP | other *** search
/ MacHack 1997 / MacHack 1997.toast / Other Stuff / Other Stuff ’97 / PowerOS Development / basic kernel source / misc.S < prev    next >
Encoding:
Text File  |  1997-06-26  |  466 b   |  25 lines  |  [TEXT/R*ch]

  1. /*
  2.     misc.S
  3.     misc assembly functions for PowerOS
  4.     copyright 1996-1997 by Ben Martz
  5.     all rights reserved world wide
  6.  
  7.     ANY AND ALL MODIFICATIONS TO THIS SOURCE MUST CREDIT THE ORIGINAL
  8.     AUTHOR, BEN MARTZ (benmartz@ic.net), AND MUST BE GIVEN TO THE AUTHOR
  9.     FOR INTEGRATION INTO THE MAIN PowerOS SOURCE TREE. THANK YOU FOR YOUR
  10.     COOPERATION!
  11. */
  12.  
  13.     #include "stdhdr.s"
  14.     
  15.     .globl _kernel_size
  16. _kernel_size:
  17.     lis    r3,_end@ha
  18.     ori    r3,r3,_end@l
  19.     blr
  20.     
  21.     .globl _sc
  22. _sc:
  23.     sc
  24.     blr
  25.